﻿<%@ Page Title="" Language="C#" MasterPageFile="~/masDefault.master" AutoEventWireup="true"
    CodeFile="NewsDetail.aspx.cs" Inherits="NewsDetail" %>
    <%@ Import Namespace="CommonTagTime.ModelObject" %>
    <%@ Import Namespace="CommonTagTime" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="Server">
   
    <h1>
          <%=Server.HtmlEncode(objNew.Title)%>
    </h1>
    <div class="box-content2">
    <div id="byline">					
       
        <div class="dateStamp"> <%=clsConvert.String(objNew.CreatedDate, "dd/MM/yyyy")%></div>     
        <div class="facebook">
       
                <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
                <fb:like href="<%=ConfigurationManager.AppSettings["Website"] %><%=Request.RawUrl.ToString() %>"
                    show_faces="false" width="450" font="arial"></fb:like>
           	</div>
      
	</div>
    <div id="nDetail">       
        <p>
            <%=objNew.Description%>
        </p>
           <%if(lstOther!=null && lstOther.Count>0)
             { %>

        <div class="relatedtitle"><%=GetLang("RelatedNews") %></div>        
        <ul>
            <%foreach (TipNews objOther in lstOther)
              { %>
                <li>
                <a href="/news/<%=clsText.ToSEO(objOther.Title) %>/<%=objOther.TipNewsID %>"><%=Server.HtmlEncode(objOther.Title) %></a>
               &nbsp;(<%=string.Format("{0:dd/MM/yyyy}", objOther.CreatedDate)%>)
                
            </li>
              <%} %>
            
        </ul>
        <%} %>
    </div>  
    <div class="clear">
    </div>
    </div>

  
</asp:Content>
